Matthias Clasen [Fri, 10 Mar 2017 13:48:36 +0000 (08:48 -0500)]
quartz: Add monitor support
This is a backport of a patch by Tom Schoonjans,
https://bugzilla.gnome.org/show_bug.cgi?id=779184
William Hua [Sat, 1 Apr 2017 14:04:50 +0000 (10:04 -0400)]
mir: set application name when creating connection
William Hua [Fri, 31 Mar 2017 21:35:49 +0000 (17:35 -0400)]
mir: remove keymap and input device state warnings
William Hua [Fri, 31 Mar 2017 19:14:16 +0000 (15:14 -0400)]
mir: re-write settings implementation
Ernestas Kulik [Thu, 30 Mar 2017 19:29:57 +0000 (22:29 +0300)]
flowbox: don’t select when rubberbanding over nothing
When rubberbanding over an empty area, everything is selected on gesture
end, which is a bit counter-intuitive.
https://bugzilla.gnome.org/show_bug.cgi?id=780735
Yosef Or Boczko [Thu, 30 Mar 2017 16:28:41 +0000 (19:28 +0300)]
Updated Hebrew translation
Yosef Or Boczko [Thu, 30 Mar 2017 16:28:31 +0000 (19:28 +0300)]
Updted Hebrew translation
Yosef Or Boczko [Thu, 30 Mar 2017 15:13:13 +0000 (18:13 +0300)]
Updated Hebrew translation
Christoph Reiter [Tue, 14 Mar 2017 20:00:37 +0000 (21:00 +0100)]
osx: fix build
https://bugzilla.gnome.org/show_bug.cgi?id=734946
Christoph Reiter [Thu, 30 Mar 2017 08:45:00 +0000 (10:45 +0200)]
gtk_widget_intersect: fix annotations
https://bugzilla.gnome.org/show_bug.cgi?id=773228
Daniel Boles [Mon, 27 Mar 2017 18:28:54 +0000 (19:28 +0100)]
TextView: Drop an unnecessary #include
Daniel Boles [Mon, 27 Mar 2017 18:14:38 +0000 (19:14 +0100)]
TextView: Be const-correct when passing a pointer
The TextIter is passed by pointer for efficiency. We neither need to
modify it, nor should we leave it possible to accidentally do so. So,
it should be passed as a pointer-to-const.
Daniel Boles [Sun, 26 Mar 2017 14:53:12 +0000 (15:53 +0100)]
TextView: Get line direction in more efficient way
We do not need to go through the heavyweight process of constructing a
TextLineDisplay just to get the direction out of it, when we can simply
use TextIter API to get the text and then get its direction using Pango.
Adapted from a patch by Mehdi Sadeghi for GtkSourceView:
https://bugzilla.gnome.org/show_bug.cgi?id=779081#c20
Daniel Boles [Sun, 26 Mar 2017 14:50:57 +0000 (15:50 +0100)]
TextBuffer: Add missing transfer full annotations
Kjell Ahlstedt [Fri, 24 Mar 2017 15:41:47 +0000 (16:41 +0100)]
printjob: Clarify array ownership in gtk_print_job_set_page_ranges()
Add a documentation annotation saying that set_page_ranges transfers
ownership of the GtkPageRange array.
Add a g_free() call to fix a memory leak when set_page_ranges is
used repeatedly.
https://bugzilla.gnome.org/show_bug.cgi?id=780234
Matthias Clasen [Thu, 23 Mar 2017 16:15:26 +0000 (16:15 +0000)]
Avoid more compiler warnings
Matthias Clasen [Thu, 23 Mar 2017 16:15:00 +0000 (16:15 +0000)]
Avoid unused variable warnings
Matthias Clasen [Thu, 23 Mar 2017 15:13:33 +0000 (15:13 +0000)]
Avoid redefining GNU_SOURCE
Gives a compiler warning with the wrong flags.
Matthias Clasen [Thu, 23 Mar 2017 15:13:13 +0000 (15:13 +0000)]
Avoid some compiler warnings
Piotr Drąg [Sat, 25 Mar 2017 21:55:00 +0000 (22:55 +0100)]
Update Polish translation
Kjartan Maraas [Sat, 25 Mar 2017 10:58:36 +0000 (11:58 +0100)]
Updated Norwegian bokmål translation.
Jordi Mas [Fri, 24 Mar 2017 18:42:57 +0000 (19:42 +0100)]
Update Catalan translation
Marek Kasik [Wed, 26 Mar 2014 11:29:46 +0000 (12:29 +0100)]
printing: Don't hang in gtk_enumerate_printers()
Stop enumerating printers when all backends were removed.
https://bugzilla.gnome.org/show_bug.cgi?id=686838
Stas Solovey [Wed, 22 Mar 2017 21:46:35 +0000 (21:46 +0000)]
Update Russian translation
Timm Bäder [Tue, 21 Mar 2017 15:06:13 +0000 (16:06 +0100)]
gdkdragsource: Ensure button >= 1
So the left shift later doesn't overflow.
Timm Bäder [Tue, 21 Mar 2017 13:40:21 +0000 (14:40 +0100)]
widget: Prepend style classes to list when parsing
Since the later gtk_style_context_add_class doesn't care about the order
of the style classes, we can as well just prepend style classes to the
list and avoid the squared behavior when appending to a linked list.
William Hua [Tue, 21 Mar 2017 15:25:36 +0000 (11:25 -0400)]
mir: always emit a resize when creating windows
Andika Triwidada [Tue, 21 Mar 2017 14:16:11 +0000 (14:16 +0000)]
Update Indonesian translation
Daniel Boles [Tue, 21 Mar 2017 00:05:32 +0000 (00:05 +0000)]
Scrollbar: grammar fix for previous commit
Daniel Boles [Mon, 20 Mar 2017 23:54:57 +0000 (23:54 +0000)]
Scrollbar: Tweak intro docs a bit
Explain where the adjustment comes from, clarify some of the wording
about how its fields influence the scrollbar, and also note that the
steppers may not be present, since they aren’t in our default themes.
Daniel Boles [Fri, 10 Mar 2017 20:37:27 +0000 (20:37 +0000)]
ScrolledWindow: Don’t check if child is Scrollable
If the child added is not a Scrollable, it gets wrapped in a ViewPort –
which is. So it is impossible to end up with a non-Scrollable child.
Just check we have /any/ child where needed, which is semantically nicer
https://bugzilla.gnome.org/show_bug.cgi?id=778853
Daniel Boles [Mon, 20 Mar 2017 23:20:26 +0000 (23:20 +0000)]
ScrolledWindow: Streamline/clarify the intro docs
• intro: Clarify that external policy and/or adjustments can be used.
• add(): Don’t waffle on about having to add a ViewPort since we handle
that transparently for the user, so they can add() any widget.
• Adjustment stuff: most of this was repeating the docs for Scrollbar,
so just refer the user to that. Also, mention how
policies NEVER and EXTERNAL interact with all this.
https://bugzilla.gnome.org/show_bug.cgi?id=778853
Daniel Boles [Mon, 20 Mar 2017 21:04:49 +0000 (21:04 +0000)]
Tooltip: Avoid redundant variable initialisations
has_tooltip_widget was assigned twice in immediate succession.
return_value is not used anywhere else in this function since commit
14a864c8b55dfe92f8957499f12a3f9303188a12 and does not need a default
value anymore, so move it to the inner scope and don't init to NULL.
Timm Bäder [Mon, 20 Mar 2017 14:36:05 +0000 (15:36 +0100)]
tooltip: Remove unused assignment
hide_tooltip gets overriden in any case 2 lines down, and return_value
isn't used later in that function. The second assignment was introduced
in
ef1da5f6c2450fc5f7c7de4a17114cc7507a41ad, directly below the first
assignment.
Timm Bäder [Mon, 20 Mar 2017 14:01:28 +0000 (15:01 +0100)]
css-editor: Remove unused if statement
The static local is set to NULL and never set to anything else, so we
never use it anyway.
Timm Bäder [Mon, 20 Mar 2017 13:16:56 +0000 (14:16 +0100)]
box: Make sure center_req is initialized
In case we have an invisible center widget, we never initialize it, but
later still use it.
Timm Bäder [Mon, 20 Mar 2017 08:22:13 +0000 (09:22 +0100)]
progressbar: Remove useless if statement
Both the if and the else block contained exactly the same code.
Timm Bäder [Sun, 19 Mar 2017 16:05:34 +0000 (17:05 +0100)]
notebook: Remove dead assignment
Timm Bäder [Sun, 19 Mar 2017 13:28:32 +0000 (14:28 +0100)]
GtkRecentManager: Remove superfluous local variable
Timm Bäder [Sun, 19 Mar 2017 13:24:54 +0000 (14:24 +0100)]
GdkX11DeviceManager: Fix debugging output
The 2 values added in 3.22 were missing from the source_names array.
Matthias Clasen [Sun, 19 Mar 2017 12:11:14 +0000 (12:11 +0000)]
3.22.11
Matthias Clasen [Fri, 17 Mar 2017 23:56:33 +0000 (19:56 -0400)]
Avoid a critical warning in the filechooser portal
This was showing up when cancelling a portal file chooser
in recipes.
Daniel Boles [Sat, 18 Mar 2017 12:29:28 +0000 (12:29 +0000)]
css-overview: Fix inconsistent British English use
Timm Bäder [Sat, 18 Mar 2017 06:13:13 +0000 (07:13 +0100)]
entrycompletion: Remove unnecessary NULL check
completion really shouldn't be NULL at this point, especially since it
gets dereferenced higher up in the function.
Timm Bäder [Sat, 18 Mar 2017 06:06:35 +0000 (07:06 +0100)]
calendar: Fix else branch indentations
Daniel Boles [Sat, 18 Mar 2017 01:13:42 +0000 (01:13 +0000)]
css-overview: Fix+Explain color expr number ranges
Last try, promise. They don’t all use 0 to 1. We should probably explain
the effects too. Hopefully this manages that while not being too verbose
Daniel Boles [Fri, 17 Mar 2017 23:55:15 +0000 (23:55 +0000)]
css-overview: Elaborate how color expressions work
Daniel Boles [Fri, 17 Mar 2017 23:25:13 +0000 (23:25 +0000)]
docs/css-overview: Fix color functions’ arg orders
shade/alpha/mix() take colour(s) and a number that is the ratio by which
to transform them. It was written here that these shall be passed in the
order (number, colour). That was wrong: they must be passed in the order
(colour[s], number) to work, and for the Inspector not to flag an error.
Christoph Reiter [Tue, 14 Mar 2017 19:53:09 +0000 (20:53 +0100)]
quartz: fix build for <10.12
The style mask type was changed from NSUInteger to NSWindowStyleMask.
Use NSUInteger so it also works on older macOS.
https://bugzilla.gnome.org/show_bug.cgi?id=780019
Matthias Clasen [Tue, 14 Mar 2017 00:52:49 +0000 (20:52 -0400)]
3.22.10
William Hua [Mon, 13 Mar 2017 14:48:43 +0000 (10:48 -0400)]
mir: start handling resize events again
William Hua [Mon, 13 Mar 2017 08:07:37 +0000 (04:07 -0400)]
mir: remove unused generate_configure_event ()
William Hua [Mon, 13 Mar 2017 07:36:30 +0000 (03:36 -0400)]
mir: set placement for menu-type windows
William Hua [Mon, 13 Mar 2017 06:52:15 +0000 (02:52 -0400)]
mir: synthesize resize events
William Hua [Mon, 13 Mar 2017 04:06:30 +0000 (00:06 -0400)]
mir: ignore resize events
William Hua [Fri, 10 Mar 2017 15:50:23 +0000 (10:50 -0500)]
mir: try mir before x11
Dušan Kazik [Sun, 12 Mar 2017 10:15:33 +0000 (10:15 +0000)]
Update Slovak translation
Dušan Kazik [Sun, 12 Mar 2017 10:02:48 +0000 (10:02 +0000)]
Update Slovak translation
Andika Triwidada [Sat, 11 Mar 2017 08:59:12 +0000 (08:59 +0000)]
Update Indonesian translation
Andika Triwidada [Sat, 11 Mar 2017 07:49:44 +0000 (07:49 +0000)]
Update Indonesian translation
Marek Černocký [Sat, 11 Mar 2017 01:12:00 +0000 (02:12 +0100)]
Updated Czech translation
Matthias Clasen [Fri, 10 Mar 2017 12:26:05 +0000 (07:26 -0500)]
quartz: Fix another typo
Matthias Clasen [Fri, 10 Mar 2017 12:09:37 +0000 (07:09 -0500)]
quartz: Fix the build
A ; was left out inadvertently.
William Hua [Wed, 8 Mar 2017 16:36:30 +0000 (11:36 -0500)]
mir: log additional event types
TingPing [Thu, 9 Mar 2017 03:52:58 +0000 (22:52 -0500)]
Improve GContentType usage
Convert to content type where needed.
Should fix various issues on Windows and OS X.
https://bugzilla.gnome.org/show_bug.cgi?id=734946
Andika Triwidada [Thu, 9 Mar 2017 03:57:10 +0000 (03:57 +0000)]
Update Indonesian translation
Andika Triwidada [Thu, 9 Mar 2017 03:56:48 +0000 (03:56 +0000)]
Update Indonesian translation
GNOME Translation Robot [Tue, 7 Mar 2017 12:17:26 +0000 (12:17 +0000)]
Update Scottish Gaelic translation
GNOME Translation Robot [Tue, 7 Mar 2017 12:11:43 +0000 (12:11 +0000)]
Update Scottish Gaelic translation
Philip Withnall [Tue, 7 Mar 2017 09:47:30 +0000 (09:47 +0000)]
tests: Fix use of C99 inline declaration
We don’t claim to use them yet, even if we perhaps should.
Daniel Boles [Tue, 7 Mar 2017 09:17:29 +0000 (09:17 +0000)]
testheightforwidth: cleanups
Daniel Boles [Tue, 7 Mar 2017 01:32:24 +0000 (01:32 +0000)]
testframe: Don’t unnecessarily query the padding
The [hv]padding variables control and hence track this.
Also, simplify the CSS using shorthand 2-value notation (again).
Daniel Boles [Mon, 6 Mar 2017 23:44:07 +0000 (23:44 +0000)]
testframe: Actually set the padding
The CSS was targeting node GtkFrame, which is wrong: it is called frame.
This commit also assumes the interesting padding is that between the
border and the child widget, not the padding around the entire Frame.
Some additional hoops must be jumped through to preserve padding values
not being changed in either callback. However, the way this is done
means I must set the initial paddings to 0, which simplifies main().
Daniel Boles [Mon, 6 Mar 2017 23:12:20 +0000 (23:12 +0000)]
testframe: Add CheckButton to toggle border off/on
We should test this.
Daniel Boles [Mon, 6 Mar 2017 23:03:37 +0000 (23:03 +0000)]
testframe: Order controls better & improve labels
The :label-widget is drawn before the child, so put the controls that
set the alignment of the :label-widget before those that pad the child.
We set (horizontal|vertical) padding, not "[xy]thickness". Also change
to "label [xy]align" & use grid spacing, not spaces at end of Labels.
Daniel Boles [Mon, 6 Mar 2017 22:55:49 +0000 (22:55 +0000)]
testframe: Minimise typecasts
Daniel Boles [Mon, 6 Mar 2017 22:53:15 +0000 (22:53 +0000)]
testframe: Set value before connecting callbacks
The value comes from the widget, and we were setting this after
connecting the callback, which applies the value to the widget…
Daniel Boles [Mon, 6 Mar 2017 22:39:01 +0000 (22:39 +0000)]
testframe: Use a generic widget pointer
Daniel Boles [Mon, 6 Mar 2017 20:57:17 +0000 (20:57 +0000)]
testheightforwidth: Add missing unref
Daniel Boles [Mon, 6 Mar 2017 20:48:01 +0000 (20:48 +0000)]
testheightforwidth: Remove deprecations & clean up
cherry-pick of master commit
bf0ea7b7bc8de1c39923d4976f6e1aafd23b92c7
William Hua [Sat, 4 Mar 2017 15:13:01 +0000 (10:13 -0500)]
mir: don't create GDK_INPUT_ONLY windows
Jakub Steiner [Mon, 6 Mar 2017 14:34:38 +0000 (15:34 +0100)]
Adwaita: border for selmode checkboxes
- there was an extra border for selection mode
Daniel Boles [Mon, 6 Mar 2017 07:19:30 +0000 (07:19 +0000)]
Frame: Fix another piece of .flat documentation
Matthias Clasen [Mon, 6 Mar 2017 03:52:03 +0000 (22:52 -0500)]
Quartz: Implement gdk_window_set_functions
This is useful, and easy to implement.
Daniel Boles [Sun, 5 Mar 2017 17:56:23 +0000 (17:56 +0000)]
Revert move of .flat from frame > border to frame
Changing code to agree with docs, which said frame.flat, was backwards.
Mea culpa. Theme authors ran with the actual behaviour, not the docs. As
stability is more important, let’s go back to frame > border.flat, and
fix the docs to reflect what the code does and how to set .flat in code.
N.B. This retains the change in HighContrast of "frame border" to "frame
> border". Not using the direct child selector contradicted Adwaita &
could conceivably have unwanted results on nested nodes named border.
https://bugzilla.gnome.org/show_bug.cgi?id=778905
Inaki Larranaga Murgoitio [Sat, 4 Mar 2017 16:43:00 +0000 (17:43 +0100)]
Update Basque language
Changwoo Ryu [Fri, 3 Mar 2017 17:01:12 +0000 (17:01 +0000)]
Update Korean translation
Changwoo Ryu [Fri, 3 Mar 2017 17:00:52 +0000 (17:00 +0000)]
Update Korean translation
Inaki Larranaga Murgoitio [Fri, 3 Mar 2017 11:58:52 +0000 (12:58 +0100)]
Update Basque language
Inaki Larranaga Murgoitio [Fri, 3 Mar 2017 11:57:34 +0000 (12:57 +0100)]
Update Basque language
Inaki Larranaga Murgoitio [Fri, 3 Mar 2017 11:50:41 +0000 (12:50 +0100)]
Update Basque language
Inaki Larranaga Murgoitio [Fri, 3 Mar 2017 11:47:55 +0000 (12:47 +0100)]
Update Basque language
Chun-wei Fan [Fri, 3 Mar 2017 09:35:28 +0000 (17:35 +0800)]
build/Makefile.msvcproj: Remove MSVC 2017 projects before re-generation
This ensures a fresh version from the 2010 projects are copied and
processed.
Daniel Boles [Fri, 3 Mar 2017 08:43:26 +0000 (08:43 +0000)]
themes: Actually fix the frame.flat style class
by changing the source scss, not just the generated css files.
Thanks to Christoph Reiter for pointing this out!
Daniel Boles [Fri, 3 Mar 2017 08:42:05 +0000 (08:42 +0000)]
HighContrast/parse-sass.sh: Use a reliable shebang
/usr/bin/sh does not exist on e.g. Debian sid.
Use the same shebang as Adwaita/parse-sass.sh
Daniel Boles [Thu, 2 Mar 2017 18:59:25 +0000 (18:59 +0000)]
Adwaita: :insensitive is deprecated; use :disabled
Daniel Boles [Sun, 19 Feb 2017 12:22:48 +0000 (12:22 +0000)]
Adwaita: Restore documented behaviour of .flat
This was changed in commit
0c20604932fa398ec8f52f049bf91b7128ff2e47
but got clobbered by commit
8817c1ad6d7dede20f7f16c71d088304a7bccacd
Timm Bäder [Thu, 2 Mar 2017 13:06:01 +0000 (14:06 +0100)]
placesview: Simplify button construction
Timm Bäder [Thu, 2 Mar 2017 13:05:46 +0000 (14:05 +0100)]
placessidebar: Fix css node name typo
Timm Bäder [Tue, 28 Feb 2017 13:22:39 +0000 (14:22 +0100)]
widgetnode: Remove unused define